package com.lsm.composite;

public abstract class Entry {
	public abstract String getName();

	public abstract int getSize();

	public void add(Entry entry) throws Exception {
		throw new Exception("");
	}

	public abstract void printFile();

	public String toString() {
		return "Name: " + getName() + " Size: " + getSize();
	}
}
